package com.feihao.service.impl;

import com.feihao.dao.UserDao;
import com.feihao.domain.User;
import com.feihao.service.UserService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.List;

@Service
public class UserServiceImpl implements UserService,Serializable {

    @Autowired
    private UserDao userDao;

    public List<User> login(User user) {
        return userDao.login(user);
    }
}
